﻿using Microsoft.Extensions.FileSystemGlobbing.Internal;
using System;

namespace blog.Model
{
    public class Content
    {
        private int? id;
        private int? userId;
        private string? title;
        private string? contentMd;
        private string? contentHtml;
        private string? abs;
        private string? cover;
        private DateTime? createTime;
        private int? commentCount;

        public int? Id { get => id; set => id = value; }
        public int? UserId { get => userId; set => userId = value; }
        public string? Title { get => title; set => title = value; }
        public string? ContentMd { get => contentMd; set => contentMd = value; }
        public string? ContentHtml { get => contentHtml; set => contentHtml = value; }
        public string? Abs { get => abs; set => abs = value; }
        public string? Cover { get => cover; set => cover = value; }
        public DateTime? CreateTime { get => createTime; set => createTime = value; }
        public int? CommentCount { get => commentCount; set => commentCount = value; }
    }
}
